# python变量和数据类型

'''
1.数字类型
'''
i = 8
f = 2.56
print(type(i))
print(type(f))

'''
2.字符串类型
'''
str1 = "test00"
str2 = 'test01'
html = """
<p>lauwen</p>
"""
print(type(str1))
print(type(str2))
print(type(html))

'''
3.列表
'''
l = [1, 2, 3, 4, 5]
for x in l:
    print(x)
print(type(l))

'''
4.元组
'''
t = (500, '服务器内部错误')

'''
5.字典
'''
d = {'name': 'lauwen', 'sex': 'female', 'age': 22}
for k in d.keys():
    print(k)
    print(d[k])
print(type(d))

'''
6.对象
'''
class Person(object):
    pass
p = Person()
print(type(p))

'''
7.集合
'''
s = {'zhbit', 'computer', 'student', 'graduation', 'zhbit'}
print(s)
print(type(s))







